import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/Home/Home'
import Details from '@/Home/Details'
import City from '@/City/City'
import Detailss from '@/Detailss/Detailss'
import Map from '@/Map/Map'
import Men from '@/Detailss/Menpiao'
import Yi from '@/Detailss/Yiriyou'


Vue.use(Router)
 
export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
		{
			path:"/Details",
			name:"Details",
			component:Details
		},
		{
			path:"/City",
			name:"City",
			component:City
		},
		{
			path:"/Detailss/:id",
			name:"Detailss",
			component:Detailss,
			children:[{
				path:"Men",
				component:Men
			},{
				path:"Yi",
				component:Yi
			}]
		},
		{
			path:"/Map",
			name:"Map",
			component:Map
		}
  ]
})
